STEP 9: Let's use a loop to solve this puzzle. Click on the LOGIC tab in the toolkit to find the right tools!

  • Go to and drag out Loop with Range. Change the number of times the loop repeats to 4.
  • Go to and drag out Move Forward. Change the number of pixels the sprite moves to 6.
  • Go to and drag out Turn Right.

Make sure you drop your commands inside of the for loop. They should have a purple block ····¬ in front of them.

To navigate the page using the TAB key, first press ESC to exit the code editor.

sprite.pen_down()
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)